package com.njworkorder.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class MonthExamineDto {

    @Schema(description = "实施单位id")
    private String unitAoId;

    @Schema(description = "工区id")
    private String workspaceId;

    @Schema(description = "施工路段id")
    private List<String> sectionId;

    @Schema(description = "考核周期", example = "1为月度，2为季度")
    private Integer  assCycle;

    @Schema(description = "开始年")
    @JsonFormat(pattern = "yyyy")
    private Integer startYear;

    @Schema(description = "开始月")
    @JsonFormat(pattern = "mm")
    private Integer startMonth;

    @Schema(description = "开始日")
    @JsonFormat(pattern = "dd")
    private Integer startDay;

    @Schema(description = "结束年")
    @JsonFormat(pattern = "yyyy")
    private Integer endYear;

    @Schema(description = "结束月")
    @JsonFormat(pattern = "mm")
    private Integer endMonth;

    @Schema(description = "结束日")
    @JsonFormat(pattern = "dd")
    private Integer endDay;

    @Schema(description = "作业安全小计扣分")
    private BigDecimal safetySubtotal;

    @Schema(description = "作业准备扣分")
    private BigDecimal jobSetup;

    @Schema(description = "作业组织扣分")
    private BigDecimal jobCompany;

    @Schema(description = "作业记录扣分")
    private BigDecimal jobRecords;


    @Schema(description = "作业管理小计")
    private BigDecimal jobSubtotal;

    @Schema(description = "巡检与巡查扣分")
    private BigDecimal patrol;


    @Schema(description = "路基扣分")
    private BigDecimal subgrade;

    @Schema(description = "路面扣分")
    private BigDecimal pavement;

    @Schema(description = "桥涵扣分")
    private BigDecimal bridge;

    @Schema(description = "交安设施及相关沿线设施扣分")
    private BigDecimal relatedFacilitie;

    @Schema(description = "绿化扣分")
    private BigDecimal greening;


    @Schema(description = "清洁扣分")
    private BigDecimal clean;

    @Schema(description = "作业管制小计")
    private BigDecimal controlSubtotal;

    @Schema(description = "合计")
    private BigDecimal amount;


    @Schema(description = "数据状态", example = "2为正常状态,6为冻结状态,8为失效状态")
    private String status;


}
